/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package eu.easyedu.dictionary.api.service.events;

import java.util.EventObject;

/**
 *
 * @param T 
 * @author hlavki
 */
public class CreateEntityDictionaryEvent<T> extends EventObject {
    
    public CreateEntityDictionaryEvent(T newObj) {
        super(newObj);
    }

    @SuppressWarnings("unchecked")
    public T getCreatedObject() {
        return (T)getSource();
    }
}
